const commodityApi = [
    //  ==========   商品信息表 ===========================

    {
        name: 'listCommodityInfo',
        method: 'GET',
        desc: '查询商品信息表列表',
        path: '/commodity/commodityInfo/list',
        mockPath: '',
        params: { }
    },
    {
        name: 'getCommodityInfoInfo',
        method: 'GET',
        desc: '查询商品信息表详情',
        path: '/commodity/commodityInfo/info/{id}',
        mockPath: '',
        params: { }
    },
    {
        name: 'saveCommodityInfo',
        method: 'POST',
        desc: '新增商品信息表',
        path: '/commodity/commodityInfo/save',
        mockPath: '',
        params: {
            id: ''
        }
    },
    {
        name: 'updateCommodityInfo',
        method: 'POST',
        desc: '更新商品信息表',
        path: '/commodity/commodityInfo/update',
        mockPath: '',
        params: {
            id: ''
        }
    },
    {
        name: 'deleteCommodityInfo',
        method: 'POST',
        desc: '删除商品信息表',
        path: '/commodity/commodityInfo/delete',
        mockPath: '',
        params: {}
    },
  //getCommodityInfoList
  {
    name: 'getCommodityInfoList',
    method: 'GET',
    desc: '查询商品信息表列表',
    path: '/commodity/commodityInfo/getCommodityInfoList',
    mockPath: '',
    params: { }
  },

  //  ==========   商品历史价格 ===========================

  {
    name: 'listCommodityPriceHistory',
    method: 'GET',
    desc: '查询商品历史价格列表',
    path: '/commodity/commodityPriceHistory/list',
    mockPath: '',
    params: { }
  },
  {
    name: 'getCommodityPriceHistoryInfo',
    method: 'GET',
    desc: '查询商品历史价格详情',
    path: '/commodity/commodityPriceHistory/info/{id}',
    mockPath: '',
    params: { }
  },
  {
    name: 'saveCommodityPriceHistory',
    method: 'POST',
    desc: '新增商品历史价格',
    path: '/commodity/commodityPriceHistory/save',
    mockPath: '',
    params: {
      id: ''
    }
  },
  {
    name: 'updateCommodityPriceHistory',
    method: 'POST',
    desc: '更新商品历史价格',
    path: '/commodity/commodityPriceHistory/update',
    mockPath: '',
    params: {
      id: ''
    }
  },
  {
    name: 'deleteCommodityPriceHistory',
    method: 'POST',
    desc: '删除商品历史价格',
    path: '/commodity/commodityPriceHistory/delete',
    mockPath: '',
    params: {}
  }
]

export default commodityApi


